QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    calldll1.cpp

HEADERS += \
    Test1.h \
    calldll1.h

FORMS += \
    calldll1.ui

# 其中，LIBS是Qt自带的变量，用于在.pro文控中指定需要包含的库，既可以包含Linux中的库，也可以包含Windows中的库。
# -L选项用来控置库所存放的路径，但绝对路径有时不方便，因此也可以使用相对路径。
LIBS += -L$$PWD/./ -lWin32DLLDemo

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target



win32: LIBS += -L$$PWD/./ -lWin32DLLDemo

INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.

